package co.fitstart.signin.service;

import co.fitstart.entity.coach.PrincipalReportRelation;
import co.fitstart.entity.principal.Principal;

/**
 * 
 * @author dan
 *
 */
public interface PrincipalService extends DataService<Principal>{
    
    /**
     * 
     * @param name
     * @return
     */
    public Principal loadByName(String name);
    
    /**
     * 
     * @param principal
     * @return
     */
    public PrincipalReportRelation getRelation(Principal principal);

}
